The interaction of light with matter lies at the heart of processes in nature and in society. For example, in a solar cell, light is converted to an electrical current, but the efficiency of this conversion process can be enhanced. One way to achieve this is by trapping light with so-called optical cavities.